package com.iman.Confucius.vo;

import java.util.Date;

/**
 * 
 * @author Thinkpad
 * 
 */
public class ArticlesVo {

	//seq
	private String seq;
	// 是不是热点
	private Integer hotYn = 0;
	// 文字题目
	private String title;
	// 文章简述
	private String articleDesc;
	// 文章的创建时间
	private Date articleCdt;
	// 文字类型
	// 文章类型 drm_articles 表; 1= 通知公告 2= 学院动态 3= 行业动态 4= 考试指南 5=备考指南 6=考试动态 7=报考指南
	// 8=制定用书 9=证书与就业 10=活动
	private Integer articleTp;
	// 内容ID ，需要转换为 String类型才可以 否则前台会因为 long 失去精度
	private String articleId;
    //修改时间
	private Date articleUdt;//
	private Integer browerCnt;//浏览数量
	private Integer headYn;//是否置顶
	private Integer attchYn;//是否有附件
	//附件名称
	private String attchNm;
    private String articleContent;
    private String articleImg;
  //前一文章标题和后一文章标题
    private String preTitle;
    private String nextTitle;
    private String preId;
    private String nextId;
    
    public String getPreTitle() {
		return preTitle;
	}

	public void setPreTitle(String preTitle) {
		this.preTitle = preTitle;
	}

	public String getNextTitle() {
		return nextTitle;
	}

	public void setNextTitle(String nextTitle) {
		this.nextTitle = nextTitle;
	}

	public String getPreId() {
		return preId;
	}

	public void setPreId(String preId) {
		this.preId = preId;
	}

	public String getNextId() {
		return nextId;
	}

	public void setNextId(String nextId) {
		this.nextId = nextId;
	}
	public String getSeq() {
		return seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}

	public String getArticleContent() {
		return articleContent;
	}

	public void setArticleContent(String articleContent) {
		this.articleContent = articleContent;
	}

	public String getArticleImg() {
		return articleImg;
	}

	public void setArticleImg(String articleImg) {
		this.articleImg = articleImg;
	}

	public Integer getHotYn() {
		return hotYn;
	}

	public void setHotYn(Integer hotYn) {
		this.hotYn = hotYn;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getArticleDesc() {
		return articleDesc;
	}

	public void setArticleDesc(String articleDesc) {
		this.articleDesc = articleDesc;
	}

	public Date getArticleCdt() {
		return articleCdt;
	}

	public void setArticleCdt(Date articleCdt) {
		this.articleCdt = articleCdt;
	}

	public Integer getArticleTp() {
		return articleTp;
	}

	public void setArticleTp(Integer articleTp) {
		this.articleTp = articleTp;
	}

	public String getArticleId() {
		return articleId;
	}

	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}

	@Override
	public String toString() {
		return "ArticlesVo [hotYn=" + hotYn + ", title=" + title
				+ ", articleDesc=" + articleDesc + ", articleCdt=" + articleCdt
				+ ", articleTp=" + articleTp + ", articleId=" + articleId
				+ ", articleUdt=" + articleUdt + ", browerCnt=" + browerCnt
				+ ", headYn=" + headYn + ", attchYn=" + attchYn + ", attchNm="
				+ attchNm + "]";
	}

	 
	public Date getArticleUdt() {
		return articleUdt;
	}

	public void setArticleUdt(Date articleUdt) {
		this.articleUdt = articleUdt;
	}

	public Integer getBrowerCnt() {
		return browerCnt;
	}

	public void setBrowerCnt(Integer browerCnt) {
		this.browerCnt = browerCnt;
	}

	public Integer getHeadYn() {
		return headYn;
	}

	public void setHeadYn(Integer headYn) {
		this.headYn = headYn;
	}

	public Integer getAttchYn() {
		return attchYn;
	}

	public void setAttchYn(Integer attchYn) {
		this.attchYn = attchYn;
	}

	public String getAttchNm() {
		return attchNm;
	}

	public void setAttchNm(String attchNm) {
		this.attchNm = attchNm;
	}

	public ArticlesVo(){}
	public ArticlesVo(Integer hotYn, String title, String articleDesc,
			Date articleCdt, Integer articleTp, String articleId) {
		super();
		this.hotYn = hotYn;
		this.title = title;
		this.articleDesc = articleDesc;
		this.articleCdt = articleCdt;
		this.articleTp = articleTp;
		this.articleId = articleId;
	}

}
